import React from 'react';
import { Route, } from 'react-keeper';
import * as Page from './page'


class Routers extends React.Component {
	render() {
		return (
			<div>
				<Route path="/>" index component={ Page.Index }></Route>
				{/*<Route cache path="/>" index component={ Page.UserList }></Route>*/}
				<Route cache path="/setting/menus" component={ Page.Menus }></Route>
				<Route cache path="/permission/permissions" component={ Page.Permission }></Route>
				<Route cache path="/permission/roles" component={ Page.Role }></Route>
				<Route cache path="/users" component={ Page.UserList }></Route>
				<Route miss component={ Page.NotFound }></Route>
			</div>
		)
	}
}

export default Routers;